package com.gxar.quick.ar.server.base.model.user.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/21 15:46
 */
@ApiModel("用户分页信息响应")
@Data
public class UserPageInfoResponse {

    @ApiModelProperty("用户ID")
    @JSONField(name = "user_id")
    @JsonProperty("user_id")
    private String userId;

    @ApiModelProperty("手机号")
    @JSONField(name = "phone")
    @JsonProperty("phone")
    private String creator;

    @ApiModelProperty("创建日期")
    @JSONField(name = "created_at")
    @JsonProperty("created_at")
    private Date createdAt;

    @ApiModelProperty("更新日期")
    @JSONField(name = "updated_at")
    @JsonProperty("updated_at")
    private Date updatedAt;

    @ApiModelProperty("已经发放的兑换品数量")
    @JSONField(name = "exchange_item_number")
    @JsonProperty("exchange_item_number")
    private Integer exchangeItemNumber;

}
